package com.fuershiye.woman.monitor.beans;

/**
 * @author yongyongdong
 *
 *         传统地域的划分
 */
public class ViewArea  {

	private Long id;

	// 地域级别 1：国家;2:省，直辖市;3:地级;4:区县;5:乡镇级;6:其他
	private Integer level;

	// 地域名称,省名称，地级市的名称，县的名称
	private String name;

	// 上级地域的 id
	private Long pid;
	// 上级地域名称
	private String pname;

	// 暂时不用到代码
	private String code;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public void setPid(Long pid) {
		this.pid = pid;
	}

	public String getName() {
		return name;
	}

	public String getCode() {
		return code;
	}

	public Integer getLevel() {
		return level;
	}

	public Long getPid() {
		return pid;
	}

	public String getPname() {
		return pname;
	}

	public void setPname(String pname) {
		this.pname = pname;
	}

}
